<template>
  <div class="hm-counter">
    <button @click="count--">--</button>
    <span>{{ count }}</span>
    <button @click="count++">++</button>
  </div>
</template>

<script>
export default {
  name: 'HmCounter',
  data() {
    return {
      count: 0
    }
  },
}
</script>


<style scoped>
.hm-counter {
  width: 200px;
  height: 60px;
  border: 5px dashed #000;
}
</style>